package com.community.itelligentcommunity.community.myCommunity.service;

import com.community.itelligentcommunity.common.base.dao.GenericDao;
import com.community.itelligentcommunity.common.base.service.GenericService;
import com.community.itelligentcommunity.community.myCommunity.dao.MarktGoodDao;
import com.community.itelligentcommunity.community.myCommunity.entity.MarktGood;
import com.community.itelligentcommunity.community.myCommunity.entity.QueryMarktGood;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(rollbackFor = {IllegalArgumentException.class})
public class MarktGoodService extends GenericService<MarktGood, QueryMarktGood> {

    @Autowired
    private MarktGoodDao marktGoodDao;

    @Override
    protected GenericDao<MarktGood, QueryMarktGood> getDao() {
        return marktGoodDao;
    }

}
